package com.example.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.auth.model.entity.OAuthClient;
import org.apache.ibatis.annotations.Param;

/**
 * OAuth2客户端Mapper接口
 */
public interface OAuthClientMapper extends BaseMapper<OAuthClient> {

    /**
     * 根据客户端ID查询客户端信息
     *
     * @param clientId 客户端ID
     * @return 客户端信息
     */
    OAuthClient selectByClientId(@Param("clientId") String clientId);
} 